﻿using System.Web.Mvc;

namespace Wicresoft.SMS.Web.Areas.history
{
    public class historyAreaRegistration : AreaRegistration
    {
        public override string AreaName
        {
            get
            {
                return "history";
            }
        }

        public override void RegisterArea(AreaRegistrationContext context)
        {
            context.MapRoute(
                null,
                "history/pending/{action}",
                new { controller = "Pending" }
            );
            context.MapRoute(
                null,
                "history/pending",
                new { controller = "Pending", action = "index" }
            );
        }
    }
}
